package org.example.bookingsystem.service;

import org.example.bookingsystem.mapper.BankMapper;
import org.example.bookingsystem.model.Bank;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BankService {
    @Autowired
    private BankMapper bankMapper;
    public int updateBalance(int uid,int tid){
        return bankMapper.updateBalance(uid,tid);
    }
    public int getBalance(int uid){
        return bankMapper.getBalance(uid);
    }
}
